import { ref } from 'vue'
import { defineStore } from 'pinia'
import type { SysSettingVO } from '@/services/api/home'

// 类型声明

export const useSysSettingStore = defineStore('sysSetting', () => {
  const sysSetting = ref<SysSettingVO>()

  const saveSysSetting = (data: SysSettingVO) => {
    sysSetting.value = data
  }

  return {
    sysSetting,
    saveSysSetting
  }
})
